package com.seveneight.baijiesteward.utils;

/**
 * Created by user1 on 2018/5/5.
 */

public class StringUtils {
    public static Long timeCode=0l;
    public static boolean isEmpty(String content){
        if (null==content){
            return true;
        }else if (content.equals("")){
            return true;
        }
        return false;
    }

    public static String getCategoryType(String cType){
        String type="公共缴费";
        switch (cType){
            case "02":
                type="公共缴费";
                break;
            case "03":
                type="手机充值";
                break;
            case "04":
                type="综合业务";
                break;
            case "05":
                type="综合业务";
                break;
            case "06":
                type="彩票业务";
                break;
            case "07":
                type="行政教育";
                break;
            case "08":
                type="线下服务";
                break;
            case "09":
                type="微信电商";
                break;
            case "10":
                type="虚拟电商";
                break;
            case "11":
                type="保险行业";
                break;
            case "12":
                type="基金行业";
                break;
            case "13":
                type="电子票务";
                break;
            case "14":
                type="金融投资";
                break;
            case "15":
                type="大额支付";
                break;
            case "16":
                type="其他";
                break;
            case "17":
                type="旅游机票";
                break;
            case "18":
                type="畅付D";
                break;
            case "01":
                type="虚拟产品";
                break;
            default:
                type="公共缴费";
                break;
        }
        return type;
    }
}
